extends Sprite2D

var new_card

func _ready():
	# var tween = get_tree().create_tween()
	# tween.tween_property(self, "material:shader_parameter/dissolve_value", 0, 1)
	# tween.tween_property(self, "material:shader_parameter/dissolve_value", 1, 1)
	new_card = preload("res://Card/Cards/Card001_attack.tscn").instantiate()
	add_child(new_card)


func remove():
	remove_child(new_card)


func add():
	add_child(new_card)
